/**
 * BrandBigData.com Inc.
 * Copyright (c) 2016 All Rights Reserved.
 */
package com.qibao.toolkit.protocol.facade;

import java.io.Serializable;

/**
 * 协议配置
 *
 * @author xumin
 * @version $Id:ProtocolConfiguration.java, v0.1 2017/7/4 14:51 xumin
 */
public class ProtocolConfiguration implements Serializable {

    //连接超时
    private Integer connectionTimeout = -1;
    //传输超时
    private Integer transferTimeout = -1;
    //重试次数
    private Integer retry = 1;

    public Integer getConnectionTimeout() {
        return connectionTimeout;
    }

    public void setConnectionTimeout(Integer connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    public Integer getTransferTimeout() {
        return transferTimeout;
    }

    public void setTransferTimeout(Integer transferTimeout) {
        this.transferTimeout = transferTimeout;
    }

    public Integer getRetry() {
        return retry;
    }

    public void setRetry(Integer retry) {
        this.retry = retry;
    }
}
